package com.td.filemanager.business.filedetail;


import com.td.lib.viewmodel.ViewModel;
import com.td.library.data.FileData;
import ohos.aafwk.abilityjet.activedata.ActiveData;

/**
 * 文件详情ViewModel
 */
public class FileDetailViewModel extends ViewModel {
    private static final String TAG = FileDetailViewModel.class.getSimpleName();

    private ActiveData<FileData> fileData = new ActiveData<>();

    public FileDetailViewModel() {
    }

    public ActiveData<FileData> getFileData() {
        return fileData;
    }

    public void setFileData(FileData fileData) {
        this.fileData.setData(fileData);
    }
}
